package org.imaginedays.androidall.xml.parsers;

import org.imaginedays.androidall.constants.Constants;
import org.imaginedays.androidall.error.AndroidAllError;
import org.imaginedays.androidall.error.AndroidAllParseException;
import org.imaginedays.androidall.types.BaseType;
import org.xmlpull.v1.XmlPullParser;

public interface Parser<T extends BaseType> {

	public static final boolean DEBUG = Constants.PARSER_DEBUG;

	public abstract T parse(XmlPullParser parser) throws AndroidAllError,
			AndroidAllParseException;
}
